@import '../../../style/default.less';

.brandColor {
  color: @primary;
}
.pointer {
  cursor: pointer;
}

// .tableListForm {
//   background: #fafafa;
//   padding: 16px 16px 16px 40px;
//   margin-bottom: 16px;
//   :global {
//     .ant-form-item {
//       margin-right: 0;
//       display: flex;
//       > .ant-form-item-label {
//         width: auto;
//         line-height: 32px;
//         //   padding-right: 8px;
//       }
//       .ant-form-item-control {
//         line-height: 32px;
//       }
//     }
//     .ant-form {
//       .ant-row {
//         margin: 0;
//       }
//     }
//     .ant-form-item-control-wrapper {
//       flex: 1;
//     }
//   }
//   .submitButtons {
//     display: block;
//     white-space: nowrap;
//   }
// }
.tagsTable{
  :global {
    .ant-table-thead > tr > th:nth-child(2) {
      padding-left: 0
    }
    .ant-table-tbody > tr > td:nth-child(2) {
        padding-left: 0
    }
  }
}


.imagesBox {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 4px;
}

.headInput {
  // height:112px;
  background: rgba(250, 250, 250, 1);
  margin-bottom: 16px;
  padding: 16px 0;
  font-size: 14px;
  .top {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
    > span > input {
      width: 217px;
      margin-left: 16px;
    }
  }
  .bottom {
    text-align: right;
    padding-right: 16px;
    > span > span {
      color: rgba(46, 116, 255, 1);
      cursor: pointer;
    }
    > span > button:nth-child(2) {
      margin: 0 8px;
    }
    > span > span > a {
      margin-right: 4px;
    }
  }
}
.headInputDown {
  // height:64px;
  background: rgba(250, 250, 250, 1);
  margin-bottom: 16px;
  padding: 16px 0;
  font-size: 14px;
  > span > input {
    width: 217px;
    margin-left: 16px;
  }
  > span:nth-child(1) {
    margin-left: 40px;
  }
  > span:nth-child(2) {
    margin-left: 40px;
  }
  > span:nth-child(3) {
    margin-left: 16px;
    color: rgba(46, 116, 255, 1);
    cursor: pointer;
    > span {
      position: relative;
      > a {
        margin-right: 4px;
      }
      > i {
        position: absolute;
        top: 2px;
      }
    }
    > button:nth-child(2) {
      margin: 0 8px;
    }
  }
}

.NavButtons {
  margin-bottom: 16px;
  > button {
    margin-right: 8px;
  }
  :global {
    .ant-input-group-compact {
      float: right;
      width: 360px;
    }
  }
}

.footBtn {
  text-align: right;
  margin-bottom: 0;
  border-top: 1px solid #f0f0f0;
  padding: 8px 24px 8px 0;
}

.modalPanel {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  margin: 0 24px 16px;
  :global {
    .ant-collapse-content > .ant-collapse-content-box {
      padding: 0;
    }
  }
  .modalCheckBoxLine {
    height: 48px;
    line-height: 48px;
    background: #fafafa;
    border-top: 1px solid #e8e8e8;
    padding-left: 40px;
  }
}

// body {
//   :global {
//     .ant-popover-message-title {
//       padding-left: 0;
//     }
//   }
// }

.classifyModal {
  width: 184px;
  :global {
    .ant-input-number {
      width: 184px;
    }
    .ant-form-item {
      margin-bottom: 4px;
    }
  }
}

.form {
  :global {
    .ant-modal-body {
      padding: 0;
    }
  }
}

/**less**/
.leftName {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  /*! autoprefixer: off */
  -webkit-box-orient: vertical;
  /*! autoprefixer: on */
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.footerLine {
  display: flex;
  align-items: center;
  margin-top: 8px;
  border-top: 1px solid #e5e5e5;
  padding: 8px 24px;
  > div:nth-child(1) {
    flex: 1;
    margin-bottom: 0;
    margin-left: -8px;
  }
  .inputBox {
    display: flex;
    align-items: center;
    > div {
      width: 110px;
    }
  }
}

.modalTableContent {
  margin: 24px;
  width: 592px;
  overflow-x: hidden;
  .tableBox {
    border-radius: 2px;
    max-height: 400px;
    overflow-y: scroll;
    width: 609px;
    :global {
      .ant-table-tbody > tr > td {
        vertical-align: middle;
      }
      .ant-form-item {
        margin-bottom: 0;
      }
    }
  }
}

.tableBody {
  :global {
    .ant-table-thead > tr > th:nth-child(2) {
      padding-left: 0;
    }
    .ant-table-tbody > tr > td:nth-child(2) {
      padding-left: 0;
    }
  }
}

.spinBox {
  max-height: 300px !important;
}

.inputLeft {
  > div > span {
    top: 0.5px !important;
  }
}

.TagRule {
  width: 66%;
  margin-left: 25%;

  :global{
    .Rule{
      box-sizing: border-box;
      background: #f7f7f7;
      border: 1px solid #e8e8e8;
      border-radius: 4px;
      padding: 16px 0;
      margin-bottom: 8px;
      >div{
        margin-bottom: 6px;
      }
    }
    .ant-col-4{
      text-align: right;
    }
    .ant-col-1{
      width: 20px;
      text-align: center;
    }
    .ant-col-3{
      text-align: right;
      width: 15.5%;
    }

  }

}

.AddTags{
  :global{
    .ant-form-item{
      margin-bottom: 5px;
    }
    .ant-form-explain-holder{
      display: none;
    }
    button{margin-bottom: 8px;}
  }
}
